home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / DB_CLIPP / 0769A.ZIP / ISMEMO.DOC < prev    next >
Text File  |  1987-08-29  |  2KB  |  58 lines

  1. ________________ DOC for ISMEMO.BIN (OBJ) v. 0.1 Beta 8/29/87 ______________
  2.  
  3. ISMEMO.BIN -- sense the presence of a memo field within a record of a 
  4. dBASE III Plus file.  This is just for a couple of people on CIS who asked
  5. for it.
  6.  
  7. YAUSU!  Yet Another Useless Synergy Util!  This one was just written so I could
  8. test what the problems might be doing file I/O within BIN routines written in
  9. C.  At the same time, I tought myself to *do* C file I/O.  Actually, I ended
  10. up using inline assembly for the file i/o (and Turbo C for the controlling 
  11. code, etc.).
  12.  
  13. We'll call this another Beta version, and if anyone needs more I'll think about
  14. it [grin].
  15.  
  16. CALLING SYNTAX for ISMEMO.BIN v. 0.1 BETA
  17. _________________________________________
  18.  
  19. To find out if there is a memo attached to the current record of your database:
  20. m_param = DBF()+"/"+STR(RECNO()) && no spaces after filename!!
  21. LOAD Ismemo                      && unless linking in OBJ code
  22. CALL Ismemo WITH m_param         && or CCALL for QS if linked in
  23.  
  24. Return values:
  25.  
  26. All return values are placed in the first byte of the passed parameter.
  27. They are:
  28. SYNTAX ERROR     '?' (maybe you put a space after the filename?)
  29. NO MEMO FILE     '!' (or at least the byte's not set in the header)
  30. BAD OPEN         '$' (can't open the DBF file)
  31. READ ERROR       '@'
  32. RANGE ERROR      '%' (record out of range)
  33. DELETED RECORD   '*' (not yet implemented [grin])
  34. NO POINTER FOUND '0' (no memo attached)
  35. POINTER FOUND    '1' (there is a memo attached)
  36.  
  37.  
  38. Limitations:
  39. ____________
  40.  
  41. This version only works for the first memo field found, also will not work 
  42. correctly with record number over 65535 or so.
  43.  
  44.  
  45. Monetary reimbursement dept:
  46. ____________________________
  47.  
  48. This is a part of a package which is under development called the Synergy 
  49. Utilities.  $75 sent to the address below gets 'em all, plus membership on
  50. my BBS for download of source and updates.  Please don't send something just
  51. for ISMEMO, as it will just confuse me [grin].  Oh, if you want a disk mailed,
  52. end $5 extra.
  53.  
  54. R. Russell Freeland
  55. Synergy Corp.
  56. 1780 SW 43 Ave.
  57. Ft. Lauderdale, FL 33317
  58. CIS:76146,371